import request from "@/utils/request";

const BASE_URL= '/admin/system/user'
export default {
  toAssign(userId){
    return request({
      url:`${BASE_URL}/toAssign/${userId}`,
      method: 'get',
    })
  },
  doAssign(assignRoleVo){
    return request({
      url:`${BASE_URL}/doAssign`,
      method :'post',
      data:assignRoleVo
    })


  }
}

